package com.sdleyou.treepro.common.model.convert;

import com.sdleyou.treepro.common.model.dao.UserTreePlantDO;
import com.sdleyou.treepro.common.model.vo.UserTreePlantVO;
import org.springframework.beans.BeanUtils;

public class UserTreePlantDO2UserTreePlantVO {
    public static UserTreePlantVO convert(UserTreePlantDO userTreePlantDO) {
        UserTreePlantVO userTreePlantVO = new UserTreePlantVO();
        BeanUtils.copyProperties(userTreePlantDO, userTreePlantVO);
        return userTreePlantVO;
    }
}
